package com.xxgc.eow.service;

import com.xxgc.eow.entity.Choosetopic;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 选择题 服务类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-18
 */
public interface IChoosetopicService extends IService<Choosetopic> {


    List<Choosetopic> getAllChooseTopic(Integer pageNum,Integer pageSize);

    List<Choosetopic> getAllChooseTopicByLibrary(int libraryId);

    int addChooseTopic(Choosetopic choosetopic);

    Choosetopic getChooseTopic(Integer chooseId);

    List<Choosetopic> getAllChooseTopicsByChooseTopic(Choosetopic choosetopic,Integer pageNum,Integer pageSize,String libraryName);

    Integer getCountByChooseTopic(Choosetopic choosetopic,String libraryName);

    Integer getCountByChooseLevel(Integer chooseLevel);
}
